<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 页面未找到</title>
    <!-- 引入外部资源 -->
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>

<body class="bg-gray-50 min-h-screen flex flex-col items-center justify-center p-4">
    <!-- 404内容容器 -->
    <div class="text-center max-w-md w-full">
        <!-- 404图标与数字 -->
        <div class="text-blue-600 mb-6">
            <i class="fa fa-exclamation-triangle text-6xl mb-4"></i>
            <h1 class="text-[clamp(4rem,10vw,6rem)] font-bold leading-none">404</h1>
        </div>
        
        <!-- 提示文本 -->
        <h2 class="text-2xl font-semibold text-gray-800 mb-3">页面未找到</h2>
        <p class="text-gray-600 mb-8">
            很抱歉，您访问的页面不存在、已被删除或暂时无法访问
        </p>
        
        <!-- 功能按钮 -->
        <div class="flex flex-col sm:flex-row justify-center gap-4">
            <!-- 返回首页按钮 -->
            <a href="index.html" class="bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors">
                <i class="fa fa-home mr-2"></i>返回首页
            </a>
            <!-- 返回上一页按钮 -->
            <button onclick="window.history.back()" class="border border-gray-300 text-gray-700 px-6 py-3 rounded-lg font-medium hover:bg-gray-50 transition-colors">
                <i class="fa fa-arrow-left mr-2"></i>返回上一页
            </button>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="absolute bottom-6 text-gray-500 text-sm">
        <p>© 2025 简约平台 版权所有</p>
    </footer>
</body>
</html>